package com.food.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-07-03
 */
@Getter
@Setter
@ToString
@TableName("food")
public class Food implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 美食ID，主键
     */
    @TableId(value = "food_id", type = IdType.AUTO)
    private Integer foodId;

    /**
     * 美食名称
     */
    @TableField("name")
    private String name;

    /**
     * 美食描述
     */
    @TableField("description")
    private String description;

    /**
     * 美食价格
     */
    @TableField("price")
    private Integer price;

    /**
     * 美食图片URL
     */
    @TableField("image_url")
    private String imageUrl;

    /**
     * 美食分类
     */
    @TableField("category")
    private String category;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 更新时间
     */
    @TableField("updated_at")
    private Date updatedAt;
}
